package com.onesports.intelligent.k12.polarlight.mapper.market;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.onesports.intelligent.k12.polarlight.annotation.DataPermission;
import com.onesports.intelligent.k12.polarlight.domain.dto.report.OperationAccountantQueryDTO;
import com.onesports.intelligent.k12.polarlight.domain.dto.report.OrganizationAccountantQueryDTO;
import com.onesports.intelligent.k12.polarlight.domain.vo.report.OperationAccountantVO;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.onesports.intelligent.k12.polarlight.domain.entity.market.OrdersSub;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单分账表
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Mapper
public interface OrdersSubMapper extends BaseMapper<OrdersSub> {

    @DataPermission
    IPage<OperationAccountantVO> selectAccountant(Page pager,@Param("params") OperationAccountantQueryDTO dto);

    @DataPermission
    List<OperationAccountantVO> selectAccountant(@Param("params") OperationAccountantQueryDTO dto);

    @DataPermission
    OperationAccountantVO selectAccountantSumValue(@Param("params") OperationAccountantQueryDTO dto);
}
